package com.ruan.dao;

import com.ruan.entity.Address;
import com.ruan.vo.AddressVo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ClassName:AddressMapper
 * @Author:阮昇
 * @Description:
 * @Datetime: 2023/7/3 10:18
 **/
@Repository
public interface AddressMapper {
    String getAddressById(Integer addressId);

    int addAddress(AddressVo addressVo);

    Integer getLastId();

    int deleteAddress(Integer addressId);

    int editAddress(AddressVo addressVo);
}
